######################################################################
#
# wt::statusCodes package
#
######################################################################

namespace eval ::wt::statusCodes:: {
  namespace export "\[A-Z\]*"

  variable DECLINED                          -1    # Module declines to handle
  variable DONE                              -2    # Module has served the response completely
  variable OK                                 0    # Module has handled this stage

  variable HTTP_CONTINUE                      100
  variable HTTP_SWITCHING_PROTOCOLS           101
  variable HTTP_PROCESSING                    102
  variable HTTP_OK                            200
  variable HTTP_CREATED                       201
  variable HTTP_ACCEPTED                      202
  variable HTTP_NON_AUTHORITATIVE             203
  variable HTTP_NO_CONTENT                    204
  variable HTTP_RESET_CONTENT                 205
  variable HTTP_PARTIAL_CONTENT               206
  variable HTTP_MULTI_STATUS                  207
  variable HTTP_MULTIPLE_CHOICES              300
  variable HTTP_MOVED_PERMANENTLY             301
  variable HTTP_MOVED_TEMPORARILY             302
  variable HTTP_SEE_OTHER                     303
  variable HTTP_NOT_MODIFIED                  304
  variable HTTP_USE_PROXY                     305
  variable HTTP_TEMPORARY_REDIRECT            307
  variable HTTP_BAD_REQUEST                   400
  variable HTTP_UNAUTHORIZED                  401
  variable HTTP_PAYMENT_REQUIRED              402
  variable HTTP_FORBIDDEN                     403
  variable HTTP_NOT_FOUND                     404
  variable HTTP_METHOD_NOT_ALLOWED            405
  variable HTTP_NOT_ACCEPTABLE                406
  variable HTTP_PROXY_AUTHENTICATION_REQUIRED 407
  variable HTTP_REQUEST_TIME_OUT              408
  variable HTTP_CONFLICT                      409
  variable HTTP_GONE                          410
  variable HTTP_LENGTH_REQUIRED               411
  variable HTTP_PRECONDITION_FAILED           412
  variable HTTP_REQUEST_ENTITY_TOO_LARGE      413
  variable HTTP_REQUEST_URI_TOO_LARGE         414
  variable HTTP_UNSUPPORTED_MEDIA_TYPE        415
  variable HTTP_RANGE_NOT_SATISFIABLE         416
  variable HTTP_EXPECTATION_FAILED            417
  variable HTTP_UNPROCESSABLE_ENTITY          422
  variable HTTP_LOCKED                        423
  variable HTTP_FAILED_DEPENDENCY             424
  variable HTTP_INTERNAL_SERVER_ERROR         500
  variable HTTP_NOT_IMPLEMENTED               501
  variable HTTP_BAD_GATEWAY                   502
  variable HTTP_SERVICE_UNAVAILABLE           503
  variable HTTP_GATEWAY_TIME_OUT              504
  variable HTTP_VERSION_NOT_SUPPORTED         505
  variable HTTP_VARIANT_ALSO_VARIES           506
  variable HTTP_INSUFFICIENT_STORAGE          507
  variable HTTP_NOT_EXTENDED                  510
}

package provide wt::statusCodes 1
